

public class EmailMessage implements IMessage {

    public void send(String content, String toUser) {

        System.out.println(String.format("邮件消息->%s:%s",toUser, content));
    }
}